<template>
  <v-overlay :value="show">
    <v-img
        v-if="show"
        :src="src"
        min-width="350px"
        min-height="350px"
        @click="$emit('dismiss')"
    >
      <template v-slot:placeholder>
        <v-row
            class="fill-height ma-0"
            align="center"
            justify="center"
        >
          <v-progress-circular
              indeterminate
              color="grey lighten-5"
          ></v-progress-circular>
        </v-row>
      </template>
    </v-img>
  </v-overlay>
</template>

<script>
export default {
  name: "ShowBigImage",
  props:['show','src']

}
</script>

<style scoped>

</style>
